package com.hl.mapper;

import com.hl.domain.Heartessay;
import com.hl.domain.Heartexpert;

import java.util.List;

/**
* @author 高
* @description 针对表【heartEssay】的数据库操作Mapper
* @createDate 2024-09-09 15:39:56
* @Entity com.hl.domain.Heartessay
*/
public interface HeartessayMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Heartessay record);

    int insertSelective(Heartessay record);

    Heartessay selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Heartessay record);

    int updateByPrimaryKey(Heartessay record);
    //    查询所有
    List<Heartessay> selectAll ();
    //    模糊查询
    List<Heartessay> selectLikeByEssay(String title);

}
